﻿<Window x:Class="ControlsZoomingInsidePlotter.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
    Title="Window1" Height="300" Width="300">
	<Grid>
		<d3:ChartPlotter>
			<d3:ViewportHostPanel>
				<Button Content="Button" d3:ViewportPanel.ViewportBounds="0.1,0.1,0.3,0.3"/>
				<Viewbox d3:ViewportPanel.ViewportBounds="0.4,0.4,0.3,0.3">
					<Border BorderBrush="Yellow" BorderThickness="1">
						<TextBlock Text="Text in Viewbox"/>
					</Border>
				</Viewbox>
			</d3:ViewportHostPanel>
		</d3:ChartPlotter>
	</Grid>
</Window>
